<?php 
session_start();
define( 'HOST' , 'localhost' );
define( 'USER' , 'root' );
define( 'PASS' , 'root' );
define( 'CHARSET' , 'utf8' );
define( 'DBNAME' , 'sanjiang' );
header("Content-type:text/html; charset=utf-8");

include_once dirname(__FILE__).'/class.db.php';
include_once dirname(__FILE__).'/class.process.php';


$dbObj = new db();
$dbObj -> setHost(HOST);
$dbObj -> setUser(USER);
$dbObj -> setPass(PASS);
$dbObj -> setCharset(CHARSET);
$dbObj -> setDb(DBNAME);
$dbObj -> Connect();

?>